import instance from '@/utils/request';

export function GetShowEquipmentLedger(data) {
    return instance.request({
        url: "api/EquipmentLedger/GetEquipmentLedger",
        method: "post",
        data
    })
}

export function GetTotaocount() {
    return instance.request({
        url: "/api/EquipmentLedger/GetCount",
        method: "get",
    })
}

export function addEquipmentLedger(data) {
    return instance.request({
        url: "/api/EquipmentLedger/PostAddEquipmentLedger",
        method: "post",
        data
    })
}

export function updEquipmentLedger(data) {
    return instance.request({
        url: "/api/EquipmentLedger/PutUpdateEquipmentLedger",
        method: "put",
        data
    })
}

export function deleteEquipmentLedger(data) {
    return instance.request({
        url: "/api/EquipmentLedger/DeleteEquipmentLedger",
        method: "delete",
        data
    })
}